package com.dylan.springdatajpa.persistence.entity;

import com.dylan.springdatajpa.persistence.entity.common.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 用户
 *
 * @author zhangshaojian
 * @date 2022/7/28 17:38
 */
@Setter
@Getter
@Entity
@Accessors(chain = true)
@Table(name = "user")
public class User extends BaseEntity {
    private String username;
    private String password;
}
